/**
 * Copyright &copy; com.nmf All rights reserved.
 */
package com.nmf.site.biz.paygoods.gen.entity;

import javax.validation.constraints.NotNull;

import com.nmf.site.common.persistence.DataEntity;

/**
 * 支付商品Entity
 * @author 北冥
 * @version 2018-04-14
 */
public class BizPayOrder extends DataEntity<BizPayOrder> {
	
	private static final long serialVersionUID = 1L;
	private Integer payGoodType;		// 购买商品类型
	private Double price;		// 价格
	private Integer month;		// 月份
	
	public BizPayOrder() {
		super();
	}

	public BizPayOrder(String id){
		super(id);
	}

	@NotNull(message="购买商品类型不能为空")
	public Integer getPayGoodType() {
		return payGoodType;
	}

	public void setPayGoodType(Integer payGoodType) {
		this.payGoodType = payGoodType;
	}
	
	@NotNull(message="价格不能为空")
	public Double getPrice() {
		return price;
	}

	public void setPrice(Double price) {
		this.price = price;
	}
	
	public Integer getMonth() {
		return month;
	}

	public void setMonth(Integer month) {
		this.month = month;
	}
	
}